package com.example.controller;


import com.example.annotation.LogAnno;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LogController {

    @LogAnno(operateType = "添加用户")
    @RequestMapping(value = "/add")
    public void add() {
        System.out.println("向数据库中添加用户!!");
    }

}
